package com.xwaf.platform.system.provider.serviceimpl.pay;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.xwaf.platform.common.service.service.CrudService;
import com.xwaf.platform.system.api.entity.pay.Apply;
import com.xwaf.platform.system.api.service.pay.ApplyService;
import com.xwaf.platform.system.provider.dao.pay.ApplyDao;

/**
 * <p>
 * 应用
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019年12月27日 下午7:50:50 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Transactional(readOnly = true)
@Service("applyService")
public class ApplyServiceImpl extends CrudService<ApplyDao, Apply> implements ApplyService {

	@Autowired
	private ApplyDao applyDao;

	@Override
	public Page<Apply> selPageList(Page<Apply> page, Apply apply) {
		List<Apply> list = applyDao.selPageList(page, apply);
		page.setRecords(list);
		return page;
	}
}
